import * as Router from "koa-router"
import file from "../controllers/file"

const router = new Router({prefix: '/file'});
router.get("/img/:id", file.findImg);
router.get("/upload", file.saveImg);

export default router;
